package itsm.isperp.module.controller.sparepart;

import itsm.isperp.framework.web.controller.TreeNodeController;
import itsm.isperp.module.entity.sparepart.SptSparepartCategory;
import itsm.isperp.module.service.sparepart.SptSparepartCategoryService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 备件管理控制器
 * 
 * @author lizx
 * @date 2013-9-12
 */
@Controller
@RequestMapping("sparepart/category")
public class SptSparepartCategoryController extends
		TreeNodeController<SptSparepartCategory> {

	@Autowired
	protected SptSparepartCategoryService sptSparepartCategoryService;

	@Override
	public SptSparepartCategoryService getService() {
		return sptSparepartCategoryService;
	}

	@Override
	public String getPageTitle() {
		return "备件管理";
	}

}
